package com.evil.application.pojo.dto.form.control.option;

import com.evil.application.pojo.entity.FormControlOption;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * 表单控件关联下拉项 返回实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderSelectOptionRespDTO extends FormOptionRespDTO {

    /**
     * 记录原选项id
     */
    private List<Long> sourceOptionIds;

    /**
     * 关联控件数据 记录成员id
     */
    private List<Long> sourceMemIds;

    public OrderSelectOptionRespDTO() {
        this.sourceOptionIds = new ArrayList<>();
    }

    public OrderSelectOptionRespDTO(FormControlOption formControlOption) {
        super(formControlOption);
        this.sourceOptionIds = new ArrayList<>();
    }
}
